<%@ include file="/html/init.jsp"%>
<%
ResultRow row = (ResultRow) request.getAttribute(WebKeys.SEARCH_CONTAINER_RESULT_ROW);
Local mylocal = (Local) row.getObject();
String name = Local.class.getName();
String primKey = String.valueOf(mylocal.getPrimaryKey());
String url = (String)request.getAttribute("url");
if(url==null)
{
	url = PortalUtil.getCurrentURL(request);
	//System.out.println(url);
}
%>
<liferay-ui:icon-menu>

<portlet:actionURL name="editLocal" var="editLocalURL">
<portlet:param name="resourcePrimKey" value="<%= primKey %>" />
<portlet:param name="redirectTo" value="<%=url %>"></portlet:param>
</portlet:actionURL>
<liferay-ui:icon image="edit" url="<%= editLocalURL.toString() %>" />



<portlet:actionURL name="deleteLocal" var="deleteURL">
<portlet:param name="resourcePrimKey" value="<%= primKey %>" />
<portlet:param name="redirectTo" value="<%=url %>"></portlet:param>
</portlet:actionURL>
<liferay-ui:icon-delete url="<%= deleteURL.toString() %>" />

</liferay-ui:icon-menu>